/*
 * 文  件   名: UserInfo.java
 * 版         本 : docrepository-core(Anttribe). All rights reserved.
 * 描         述 : <描述>
 * 修   改  人: zhaoyong
 * 修改时间: 2014年8月20日
 */
package org.anttribe.docrepository.user.domain;

import java.sql.Timestamp;

/**
 * 用户信息
 * 
 * @author zhaoyong
 * @version 2014年8月20日
 */
public class UserInfo
{
    /**
     * userId
     */
    private String userId;
    
    /**
     * 用户名
     */
    private String username;
    
    /**
     * 昵称
     */
    private String nickname;
    
    /**
     * 密码
     */
    private String password;
    
    /**
     * 邮箱
     */
    private String email;
    
    /**
     * 创建时间
     */
    private Timestamp createTime;
    
    /**
     * 数据更新时间
     */
    private Timestamp updateTime;
    
    /**
     * 最近登录时间
     */
    private Timestamp latestLoginTime;
    
    /**
     * 可用的
     */
    private boolean available;
    
    /**
     * <默认构造函数>
     */
    public UserInfo()
    {
    }
    
    /**
     * <构造函数>
     */
    public UserInfo(String userId)
    {
        this.userId = userId;
    }
    
    /**
     * <构造函数>
     */
    public UserInfo(String userId, String username)
    {
        this.userId = userId;
        this.username = username;
    }
    
    public String getUserId()
    {
        return userId;
    }
    
    public void setUserId(String userId)
    {
        this.userId = userId;
    }
    
    public String getUsername()
    {
        return username;
    }
    
    public void setUsername(String username)
    {
        this.username = username;
    }
    
    public String getNickname()
    {
        return nickname;
    }
    
    public void setNickname(String nickname)
    {
        this.nickname = nickname;
    }
    
    public String getPassword()
    {
        return password;
    }
    
    public void setPassword(String password)
    {
        this.password = password;
    }
    
    public String getEmail()
    {
        return email;
    }
    
    public void setEmail(String email)
    {
        this.email = email;
    }
    
    public Timestamp getCreateTime()
    {
        return createTime;
    }
    
    public void setCreateTime(Timestamp createTime)
    {
        this.createTime = createTime;
    }
    
    public Timestamp getUpdateTime()
    {
        return updateTime;
    }
    
    public void setUpdateTime(Timestamp updateTime)
    {
        this.updateTime = updateTime;
    }
    
    public Timestamp getLatestLoginTime()
    {
        return latestLoginTime;
    }
    
    public void setLatestLoginTime(Timestamp latestLoginTime)
    {
        this.latestLoginTime = latestLoginTime;
    }
    
    public boolean isAvailable()
    {
        return available;
    }
    
    public void setAvailable(boolean available)
    {
        this.available = available;
    }
}